blktap2: Fix sysfs handling of blktap2
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:09:37 +0000 (10:09 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:09:37 +0000 (10:09 +0100)
commit5856aed296ceccce3f718604e117f28e21ec1418
tree47a915e8a2583dbab6fb5594d87fd3d7b88956bc
parent0dba100da61528c1d36844a00ba2676b4712aa67
blktap2: Fix sysfs handling of blktap2

The pause and unpause paths are currently broken due to a missing
slash. I took advantage of the opportunity to remove code repetition,
repeated strings that should point to the proper constants, etc

From: Andres Lagar Cavilla <andreslc@cs.toronto.edu>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/BlktapController.py